
<html>
<head>
<meta charset="UTF-8">
<title>数据选项被模型对象引用情</title>
<link href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../ffres/dict/all.js"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<script type="text/javascript">

	function doView(){
		var row = $('#dg').datagrid('getSelected');
		if (row) {
			JLEUtil.createModalWin('详情','DictOptionInfoView.html?' + '&dictId=' + row.dictId);
		} else {
			$.messager.alert('提示','请选择一条记录！','info');
		}
	}

	function reloadList(){
		$('#dg').datagrid('reload');
		JLEUtil.closewin();
	};	
</script>
</head>
<body class="easyui-layout">
<div data-options="region:'center',split:false">
	<table id="dg" class="easyui-datagrid" title="" style="width:100%;height:100%"
			data-options="singleSelect:true,collapsible:true,url:'../../api/model/table/option/byrefs/' + $.getUrlParam('dictId'),method:'get'"
			toolbar="#tb"
		title="Load Data" 
		rownumbers="true" pagination="true" pageSize="20">
		<thead>
			<tr>
				<th data-options="field:'objectCode'" width="15%">模型代码</th>
				<th data-options="field:'objectName'" width="28%">模型名称</th>
				<th data-options="field:'objectType'" width="12%" formatter="formatter_DM_OBJECT_TYPE">模型类型</th>
				<th data-options="field:'objectLocation'" width="48%">模型位置</th>
			</tr>
		</thead>
	</table>
</div>
<div data-options="region:'south',split:false" title="" style="width:100%;height:50px;background: #F4F4F4;">
	<div style="text-align:center;padding:10px">
		 <a href="javascript:window.parent.JLEUtil.closewin();" class="easyui-linkbutton">&nbsp;&nbsp;&nbsp;&nbsp;关&nbsp;&nbsp;&nbsp;&nbsp;闭&nbsp;&nbsp;&nbsp;&nbsp;</a>
	</div>
</div>
</body>
</html>

